package com.ruoyi.fire.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警信息对象 fire_alarm
 * 
 * @author wswxyw
 * @date 2024-11-26
 */
public class FireAlarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报警人id */
    private Long uId;

    /** 报警人 */
    @Excel(name = "报警人")
    private String uName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String uPhone;

    /** 报警地点 */
    @Excel(name = "报警地点")
    private String uLocation;

    /** 火情描述 */
    @Excel(name = "火情描述")
    private String uDescribe;

    /** 火灾状态（1-5级） */
    @Excel(name = "火灾状态", readConverterExp = "1=-5级")
    private String uCondition;

    /** 状态（0正常 1停用） */
    private String STATUS;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setuName(String uName) 
    {
        this.uName = uName;
    }

    public String getuName() 
    {
        return uName;
    }
    public void setuPhone(String uPhone) 
    {
        this.uPhone = uPhone;
    }

    public String getuPhone() 
    {
        return uPhone;
    }
    public void setuLocation(String uLocation) 
    {
        this.uLocation = uLocation;
    }

    public String getuLocation() 
    {
        return uLocation;
    }
    public void setuDescribe(String uDescribe) 
    {
        this.uDescribe = uDescribe;
    }

    public String getuDescribe() 
    {
        return uDescribe;
    }
    public void setuCondition(String uCondition) 
    {
        this.uCondition = uCondition;
    }

    public String getuCondition() 
    {
        return uCondition;
    }
    public void setSTATUS(String STATUS) 
    {
        this.STATUS = STATUS;
    }

    public String getSTATUS() 
    {
        return STATUS;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uId", getuId())
            .append("uName", getuName())
            .append("uPhone", getuPhone())
            .append("uLocation", getuLocation())
            .append("uDescribe", getuDescribe())
            .append("uCondition", getuCondition())
            .append("STATUS", getSTATUS())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
